﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AMS.PizzaDecoratorDemo
{
    public class PoliceFire : RateDiscount
    {
        public PoliceFire(IPizza pizza)
            : base(pizza)
        { }

        protected override double SetBaseValue()
        {
            return .20d;  // 20% off
        }

        protected override string SetName()
        {
            return "Police and Firefighters";
        }
    }
}
